package com.baiyuan.tms.gateway.core.Model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("tms_user")
public class SysUser extends BaseModel{

    @TableId
    private Long id;

    @ApiModelProperty(value = "用户照片")
    private String userImage;

    @ApiModelProperty(value = "用户编号")
    private String code;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "是否启用")
    private Integer enable;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "账号")
    private String userId;
}
